package com.ruitu.mall_98_seller.dao.bean;

import java.io.Serializable;

// 小订单对象 (小订单嵌套大订单)
public class Order implements Serializable {
    private static final long serialVersionUID = 6642054690318473175L;

    private String id;// ": "1579358207480971936",
    private String orderId;// ": "4741260795179938267",
    private String orderStatus;// ": "0",
    private String goodsId;// ": "6060991716145935381",
    private String goodsName;// ": "富贵白素鸡礼盒",
    private String goodsTotal;// ": 1,
    private String goodsSkuId;// ": null,
    private String skuContent;// ": null,
    private String companyId;// ": "880953857466647212",
    private String companyName;// ": "山东文亭湖食品有限公司",
    private String paymentType;// ": null,
    private String weight;// ": 3,
    private String quantity;// ": 1,
    private String orderTotal;// ": 1,
    private String discountTotal;// ": 0,
    private String freight;// ": 0,
    private String charge;// ": 0,
    private Long createTime;// ": 1565769486000,
    private Long payTime;// ": null,
    private Long shippingTime;// ": null,
    private Long finishTime;// ": null,
    private String isFreight;// ": "0",
    private String logistics;// ": null,
    private String logisticsNum;// ": null,
    private String orderType;// ": "2",
    private String goodsPrice;// ": 1,
    private String refundReason;// ": null,
    private String refundFlag;// ": null,
    private String shareStatus;// ": null,
    private String confirmTime;// ": null,
    private String userName;// ": null,
    private String goodsUrl;// ": "/images/goods/1389316889785156408_1550110479048.jpg",
    private String accountName;// ": null,
    private String address;// ": null,
    private String buyerPhone;// ": null,
    private String postName;// ": null,
    private String price;// ": null,
    private String accountId;// ": null,
    private String refundStatus;// ": null,
    private String isPayOver;// ": null,
    private String companyLogo;// ": "/images/logo/5492125861045713574_1552788795498.png",
    private String goodStatus;// ": "1",
    private String detailsType;// ": null,
    private String images;// ": null
    private OrderIn order;// 小订单嵌套的大订单对象
    private PreSale goodsPreSale;// ": null,  // 预售信息
    private Reserve goodsReserve;// ": null,  // 预订信息
    private Collage goodsCollage;// ": null, // 拼团信息

    // 大订单状态 s_pay_over：大订单支付状态0：待支付，1：已支付,2:已支付定金 3已取消,4:已通知用户支付尾款  5：删除
    // 大订单状态 collage_status：是否拼团成功(0,未拼成 1 已拼成 2 进行中)
    // 大订单对象
    public static class OrderIn implements Serializable {
        private static final long serialVersionUID = 5981672526624379317L;
        private String id;// ": "4741260795179938267",
        private String isPayOver;// ": "0",
        private String accountId;// ": "5315117310145443778",
        private String accountName;// ": "r1",
        private String orderProvinceCode;// ": "山东",
        private String orderCityCode;// ": "济南市",
        private String orderCountyCode;// ": "历下区",
        private String accountAddress;// ": "872308762955303230",
        private String orderTotal;// ": 1,
        private String discountTotal;// ": 0,
        private String companyId;// ": "880953857466647212",
        private String createTime;// ": 1565769486000,
        private String payTime;// ": null,
        private String collageStatus;// ": null,
        private String orderType;// ": 2,
        private String otherId;// ": "4169748797806036554",
        private String advanceMoney;// ": 0.01,
        private String tailMoney;// ": 0.99,
        private String consigneeName;// ": "bekcy",
        private String collectGoodsAddress;// ": "测试地址",
        private String collectGoodsPhone;// ": "15615519739",
        private String collectGoodsPost;// ": "250000",
        private String total;// ": 0,
        private String postage;// ": null,
        private String goodsTotal;// ": null,
        private String userPhone;// ": null,
        private String nowPayMoney;// ": 0,
        private String companyName;// ": null,
        private String preSaleDays;// ": null,
        private String advanceRatio;// ": null,
        private String orderStatus;// ": null,
        private String bookingDeliveryTime;// ": null,

        private Object bookingGoodsSpec;// ": null,
        private Object bookingIntro;// ": null
        private Object memberUser;// ": null,
        private Object orderDetails;// ": null,

        private Object goodsPreSale;// ": null,
        private Object goodsReserve;// ": null,
        private Object goodsCollage;// ": null,

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getIsPayOver() {
            return isPayOver;
        }

        public void setIsPayOver(String isPayOver) {
            this.isPayOver = isPayOver;
        }

        public String getAccountId() {
            return accountId;
        }

        public void setAccountId(String accountId) {
            this.accountId = accountId;
        }

        public String getAccountName() {
            return accountName;
        }

        public void setAccountName(String accountName) {
            this.accountName = accountName;
        }

        public String getOrderProvinceCode() {
            return orderProvinceCode;
        }

        public void setOrderProvinceCode(String orderProvinceCode) {
            this.orderProvinceCode = orderProvinceCode;
        }

        public String getOrderCityCode() {
            return orderCityCode;
        }

        public void setOrderCityCode(String orderCityCode) {
            this.orderCityCode = orderCityCode;
        }

        public String getOrderCountyCode() {
            return orderCountyCode;
        }

        public void setOrderCountyCode(String orderCountyCode) {
            this.orderCountyCode = orderCountyCode;
        }

        public String getAccountAddress() {
            return accountAddress;
        }

        public void setAccountAddress(String accountAddress) {
            this.accountAddress = accountAddress;
        }

        public String getOrderTotal() {
            return orderTotal;
        }

        public void setOrderTotal(String orderTotal) {
            this.orderTotal = orderTotal;
        }

        public String getDiscountTotal() {
            return discountTotal;
        }

        public void setDiscountTotal(String discountTotal) {
            this.discountTotal = discountTotal;
        }

        public String getCompanyId() {
            return companyId;
        }

        public void setCompanyId(String companyId) {
            this.companyId = companyId;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getPayTime() {
            return payTime;
        }

        public void setPayTime(String payTime) {
            this.payTime = payTime;
        }

        public String getCollageStatus() {
            return collageStatus;
        }

        public void setCollageStatus(String collageStatus) {
            this.collageStatus = collageStatus;
        }

        public String getOrderType() {
            return orderType;
        }

        public void setOrderType(String orderType) {
            this.orderType = orderType;
        }

        public String getOtherId() {
            return otherId;
        }

        public void setOtherId(String otherId) {
            this.otherId = otherId;
        }

        public String getAdvanceMoney() {
            return advanceMoney;
        }

        public void setAdvanceMoney(String advanceMoney) {
            this.advanceMoney = advanceMoney;
        }

        public String getTailMoney() {
            return tailMoney;
        }

        public void setTailMoney(String tailMoney) {
            this.tailMoney = tailMoney;
        }

        public String getConsigneeName() {
            return consigneeName;
        }

        public void setConsigneeName(String consigneeName) {
            this.consigneeName = consigneeName;
        }

        public String getCollectGoodsAddress() {
            return collectGoodsAddress;
        }

        public void setCollectGoodsAddress(String collectGoodsAddress) {
            this.collectGoodsAddress = collectGoodsAddress;
        }

        public String getCollectGoodsPhone() {
            return collectGoodsPhone;
        }

        public void setCollectGoodsPhone(String collectGoodsPhone) {
            this.collectGoodsPhone = collectGoodsPhone;
        }

        public String getCollectGoodsPost() {
            return collectGoodsPost;
        }

        public void setCollectGoodsPost(String collectGoodsPost) {
            this.collectGoodsPost = collectGoodsPost;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public String getPostage() {
            return postage;
        }

        public void setPostage(String postage) {
            this.postage = postage;
        }

        public String getGoodsTotal() {
            return goodsTotal;
        }

        public void setGoodsTotal(String goodsTotal) {
            this.goodsTotal = goodsTotal;
        }

        public Object getOrderDetails() {
            return orderDetails;
        }

        public void setOrderDetails(Object orderDetails) {
            this.orderDetails = orderDetails;
        }

        public Object getMemberUser() {
            return memberUser;
        }

        public void setMemberUser(Object memberUser) {
            this.memberUser = memberUser;
        }

        public Object getGoodsPreSale() {
            return goodsPreSale;
        }

        public void setGoodsPreSale(Object goodsPreSale) {
            this.goodsPreSale = goodsPreSale;
        }

        public Object getGoodsReserve() {
            return goodsReserve;
        }

        public void setGoodsReserve(Object goodsReserve) {
            this.goodsReserve = goodsReserve;
        }

        public Object getGoodsCollage() {
            return goodsCollage;
        }

        public void setGoodsCollage(Object goodsCollage) {
            this.goodsCollage = goodsCollage;
        }

        public String getUserPhone() {
            return userPhone;
        }

        public void setUserPhone(String userPhone) {
            this.userPhone = userPhone;
        }

        public String getNowPayMoney() {
            return nowPayMoney;
        }

        public void setNowPayMoney(String nowPayMoney) {
            this.nowPayMoney = nowPayMoney;
        }

        public String getCompanyName() {
            return companyName;
        }

        public void setCompanyName(String companyName) {
            this.companyName = companyName;
        }

        public String getPreSaleDays() {
            return preSaleDays;
        }

        public void setPreSaleDays(String preSaleDays) {
            this.preSaleDays = preSaleDays;
        }

        public String getAdvanceRatio() {
            return advanceRatio;
        }

        public void setAdvanceRatio(String advanceRatio) {
            this.advanceRatio = advanceRatio;
        }

        public String getOrderStatus() {
            return orderStatus;
        }

        public void setOrderStatus(String orderStatus) {
            this.orderStatus = orderStatus;
        }

        public String getBookingDeliveryTime() {
            return bookingDeliveryTime;
        }

        public void setBookingDeliveryTime(String bookingDeliveryTime) {
            this.bookingDeliveryTime = bookingDeliveryTime;
        }

        public Object getBookingGoodsSpec() {
            return bookingGoodsSpec;
        }

        public void setBookingGoodsSpec(Object bookingGoodsSpec) {
            this.bookingGoodsSpec = bookingGoodsSpec;
        }

        public Object getBookingIntro() {
            return bookingIntro;
        }

        public void setBookingIntro(Object bookingIntro) {
            this.bookingIntro = bookingIntro;
        }
    }

    // 预售信息
    public static class PreSale implements Serializable {
        private static final long serialVersionUID = 3271859000837699190L;
        private String id;// ": "3976952823104031052", //预售的ID
        private String goodId;// ": "8897855816177566383", //商品的ID
        private String preSaleRatio;// ": 10, //预付比例
        private String preSaleDelivey;// ": 15, //下单后多少天发货
        private String deliveyTime;// ": 1548553962000 //发货i日期

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getGoodId() {
            return goodId;
        }

        public void setGoodId(String goodId) {
            this.goodId = goodId;
        }

        public String getPreSaleRatio() {
            return preSaleRatio;
        }

        public void setPreSaleRatio(String preSaleRatio) {
            this.preSaleRatio = preSaleRatio;
        }

        public String getPreSaleDelivey() {
            return preSaleDelivey;
        }

        public void setPreSaleDelivey(String preSaleDelivey) {
            this.preSaleDelivey = preSaleDelivey;
        }

        public String getDeliveyTime() {
            return deliveyTime;
        }

        public void setDeliveyTime(String deliveyTime) {
            this.deliveyTime = deliveyTime;
        }
    }

    // 预订信息
    public static class Reserve implements Serializable {
        private static final long serialVersionUID = 7948292772324706556L;
        private String id;// ": "4169748797806036554", //预订的ID
        private String goodsId;// ": "6060991716145935381", //商品的ID
        private String goodsNum;// ": 1, //预订数量
        private String goodsSpec;// ": "鸡肉 机器", //商品规格
        private String accountId;// ": "5315117310145443778", //用户的Id
        private String userName;// ": "bekcy", //用户名
        private String userPhone;// ": "15615519739", //联系电话
        private String advanceRatio;// ": 1, //预付比例
        private String createTime;// ": 1565769408000, //创建时间
        private String intro;// ": "", //备注
        private Long deliveryTime;// ": 1565712000000, //发货时间
        private String goodsPrice;// ": 1, //商品总单价
        private String addressId;// ": "872308762955303230", //收货地址的ID
        private String goodName;// ": null,
        private String status;// ": 2,
        private String accountName;// ": null,
        private String totalMoney;// ": 0,
        private String goodsUrl;// ": null,
        private String orderId;// ": null,
        private String order;// ": null,
        private String company;// ": null,
        private String address;// ": null,
        private String advanceMoney;// ": null,
        private String tailMoney;// ": null,
        private String goodStatus;// ": null

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(String goodsId) {
            this.goodsId = goodsId;
        }

        public String getGoodsNum() {
            return goodsNum;
        }

        public void setGoodsNum(String goodsNum) {
            this.goodsNum = goodsNum;
        }

        public String getGoodsSpec() {
            return goodsSpec;
        }

        public void setGoodsSpec(String goodsSpec) {
            this.goodsSpec = goodsSpec;
        }

        public String getAccountId() {
            return accountId;
        }

        public void setAccountId(String accountId) {
            this.accountId = accountId;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getUserPhone() {
            return userPhone;
        }

        public void setUserPhone(String userPhone) {
            this.userPhone = userPhone;
        }

        public String getAdvanceRatio() {
            return advanceRatio;
        }

        public void setAdvanceRatio(String advanceRatio) {
            this.advanceRatio = advanceRatio;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getIntro() {
            return intro;
        }

        public void setIntro(String intro) {
            this.intro = intro;
        }

        public Long getDeliveryTime() {
            return deliveryTime;
        }

        public void setDeliveryTime(Long deliveryTime) {
            this.deliveryTime = deliveryTime;
        }

        public String getGoodsPrice() {
            return goodsPrice;
        }

        public void setGoodsPrice(String goodsPrice) {
            this.goodsPrice = goodsPrice;
        }

        public String getAddressId() {
            return addressId;
        }

        public void setAddressId(String addressId) {
            this.addressId = addressId;
        }

        public String getGoodName() {
            return goodName;
        }

        public void setGoodName(String goodName) {
            this.goodName = goodName;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getAccountName() {
            return accountName;
        }

        public void setAccountName(String accountName) {
            this.accountName = accountName;
        }

        public String getTotalMoney() {
            return totalMoney;
        }

        public void setTotalMoney(String totalMoney) {
            this.totalMoney = totalMoney;
        }

        public String getGoodsUrl() {
            return goodsUrl;
        }

        public void setGoodsUrl(String goodsUrl) {
            this.goodsUrl = goodsUrl;
        }

        public String getOrderId() {
            return orderId;
        }

        public void setOrderId(String orderId) {
            this.orderId = orderId;
        }

        public String getOrder() {
            return order;
        }

        public void setOrder(String order) {
            this.order = order;
        }

        public String getCompany() {
            return company;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getAdvanceMoney() {
            return advanceMoney;
        }

        public void setAdvanceMoney(String advanceMoney) {
            this.advanceMoney = advanceMoney;
        }

        public String getTailMoney() {
            return tailMoney;
        }

        public void setTailMoney(String tailMoney) {
            this.tailMoney = tailMoney;
        }

        public String getGoodStatus() {
            return goodStatus;
        }

        public void setGoodStatus(String goodStatus) {
            this.goodStatus = goodStatus;
        }
    }

    // 拼团信息
    public static class Collage implements Serializable {
        private static final long serialVersionUID = 1063059642594873878L;
        private String id;// ": "2456127058741473503", //拼团的ID
        private String goodsId;// ": "2703025577052815416", //商品的ID
        private String collageNum;// ": 0, //几人成团
        private String existingNum;// ": 1, //现在拼团人数
        private String status;// ": 1, //状态（0：已超时、1：进行中、2：已完成）
        private String createTime;// ": 1566291406000, //创建时间
        private Long endTime;// ": 1566377806000 //结束时间

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(String goodsId) {
            this.goodsId = goodsId;
        }

        public String getCollageNum() {
            return collageNum;
        }

        public void setCollageNum(String collageNum) {
            this.collageNum = collageNum;
        }

        public String getExistingNum() {
            return existingNum;
        }

        public void setExistingNum(String existingNum) {
            this.existingNum = existingNum;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public Long getEndTime() {
            return endTime;
        }

        public void setEndTime(Long endTime) {
            this.endTime = endTime;
        }
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsTotal() {
        return goodsTotal;
    }

    public void setGoodsTotal(String goodsTotal) {
        this.goodsTotal = goodsTotal;
    }

    public String getGoodsSkuId() {
        return goodsSkuId;
    }

    public void setGoodsSkuId(String goodsSkuId) {
        this.goodsSkuId = goodsSkuId;
    }

    public String getSkuContent() {
        return skuContent;
    }

    public void setSkuContent(String skuContent) {
        this.skuContent = skuContent;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(String paymentType) {
        this.paymentType = paymentType;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    public String getOrderTotal() {
        return orderTotal;
    }

    public void setOrderTotal(String orderTotal) {
        this.orderTotal = orderTotal;
    }

    public String getDiscountTotal() {
        return discountTotal;
    }

    public void setDiscountTotal(String discountTotal) {
        this.discountTotal = discountTotal;
    }

    public String getFreight() {
        return freight;
    }

    public void setFreight(String freight) {
        this.freight = freight;
    }

    public String getCharge() {
        return charge;
    }

    public void setCharge(String charge) {
        this.charge = charge;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getPayTime() {
        return payTime;
    }

    public void setPayTime(Long payTime) {
        this.payTime = payTime;
    }

    public Long getShippingTime() {
        return shippingTime;
    }

    public void setShippingTime(Long shippingTime) {
        this.shippingTime = shippingTime;
    }

    public Long getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Long finishTime) {
        this.finishTime = finishTime;
    }

    public String getIsFreight() {
        return isFreight;
    }

    public void setIsFreight(String isFreight) {
        this.isFreight = isFreight;
    }

    public String getLogistics() {
        return logistics;
    }

    public void setLogistics(String logistics) {
        this.logistics = logistics;
    }

    public String getLogisticsNum() {
        return logisticsNum;
    }

    public void setLogisticsNum(String logisticsNum) {
        this.logisticsNum = logisticsNum;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(String goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getRefundReason() {
        return refundReason;
    }

    public void setRefundReason(String refundReason) {
        this.refundReason = refundReason;
    }

    public String getRefundFlag() {
        return refundFlag;
    }

    public void setRefundFlag(String refundFlag) {
        this.refundFlag = refundFlag;
    }

    public String getShareStatus() {
        return shareStatus;
    }

    public void setShareStatus(String shareStatus) {
        this.shareStatus = shareStatus;
    }

    public String getConfirmTime() {
        return confirmTime;
    }

    public void setConfirmTime(String confirmTime) {
        this.confirmTime = confirmTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getGoodsUrl() {
        return goodsUrl;
    }

    public void setGoodsUrl(String goodsUrl) {
        this.goodsUrl = goodsUrl;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getBuyerPhone() {
        return buyerPhone;
    }

    public void setBuyerPhone(String buyerPhone) {
        this.buyerPhone = buyerPhone;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getRefundStatus() {
        return refundStatus;
    }

    public void setRefundStatus(String refundStatus) {
        this.refundStatus = refundStatus;
    }

    public String getIsPayOver() {
        return isPayOver;
    }

    public void setIsPayOver(String isPayOver) {
        this.isPayOver = isPayOver;
    }

    public String getCompanyLogo() {
        return companyLogo;
    }

    public void setCompanyLogo(String companyLogo) {
        this.companyLogo = companyLogo;
    }

    public String getGoodStatus() {
        return goodStatus;
    }

    public void setGoodStatus(String goodStatus) {
        this.goodStatus = goodStatus;
    }

    public String getDetailsType() {
        return detailsType;
    }

    public void setDetailsType(String detailsType) {
        this.detailsType = detailsType;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public OrderIn getOrder() {
        return order;
    }

    public void setOrder(OrderIn order) {
        this.order = order;
    }

    public PreSale getGoodsPreSale() {
        return goodsPreSale;
    }

    public void setGoodsPreSale(PreSale goodsPreSale) {
        this.goodsPreSale = goodsPreSale;
    }

    public Reserve getGoodsReserve() {
        return goodsReserve;
    }

    public void setGoodsReserve(Reserve goodsReserve) {
        this.goodsReserve = goodsReserve;
    }

    public Collage getGoodsCollage() {
        return goodsCollage;
    }

    public void setGoodsCollage(Collage goodsCollage) {
        this.goodsCollage = goodsCollage;
    }
}
